package com.ejlchina.tool.constant


const val BASE_URL_PROD = "https://api-cloud.eiotyun.com/"
//const val BASE_URL_PROD = "https://test-api-cloud.eiotyun.com:83/"
//const val BASE_URL_PROD = "https://dev-api-cloud.eiotyun.com:83/"
const val INDEX_FIX_URL = "https://eiotyun.oss-cn-hangzhou.aliyuncs.com/ejlchina/kitchen-refuse/video-option/1640071636524_AI%E5%AD%A6%E4%B9%A0%E5%9C%B0%E5%9D%80.mp4"


const val DEFAULT_STATUS_BAR_HEIGHT = 120
const val SP_TOKEN = "SP_TOKEN"
const val SP_DOMAIN = "SP_DOMAIN"
const val SP_DEVICE_MODE = "SP_DEVICE_MODE"
const val ORIGINAL_DEVICE_TOKEN = "00000000"

const val SP_MECHANISM = "SP_MECHANISM"
const val SP_USER_NAME = "SP_USER_NAME"
const val SP_PASSWORD = "SP_PASSWORD"

const val ACCESS_TOKEN = "ACCESS_TOKEN"
const val SP_BLUETOOTH_TOKEN = "SP_BLUETOOTH_TOKEN"
const val BLUETOOTH_NAME_ONLINE = "GB3_V2"
const val BLUETOOTH_NAME_OFFLINE = "GBSA3_V2"

const val DEVICE_NICKNAME_ONLINE = "青龙(GC3-Max)"
const val DEVICE_NICKNAME_OFFLINE = "鸳鸯(GC-Double)"

const val DEFAULT_DOMAIN = "ejlchina"

const val BLE_SERVICE = "0000fee7"
const val BLE_SERVICE_FULL = "0000fee7-0000-1000-8000-00805f9b34fb"
const val BLE_CHARACTER_INDICATE = "0000ffe4"
const val BLE_CHARACTER_WRITE = "0000ffe3"
const val BLE_CHARACTER_WRITE_FULL = "0000ffe3-0000-1000-8000-00805f9b34fb"

const val HARDWARE_VERSION_PREFIX = "GB3-V"
const val FIRMWARE_VERSION_PREFIX = "GC3M-TY-V"

const val HARDWARE_VERSION_PREFIX_OFFLINE = "GBSA3-V"
const val FIRMWARE_VERSION_PREFIX_OFFLINE = "GCSA3M-TY-V"

const val REQUEST_FAN_CONTROL_KEY = "REQUEST_FAN_CONTROL_KEY"
const val REQUEST_QR_SCAN_KEY = "REQUEST_QR_SCAN_KEY"
const val BUNDLE_FAN_CONTROL_RESULT_KEY = "BUNDLE_FAN_CONTROL_RESULT_KEY"

const val COMMAND_DELAY_TIME_100 = 100L
const val COMMAND_DELAY_TIME_200 = 200L
const val COMMAND_DELAY_TIME_300 = 300L
const val COMMAND_DELAY_TIME_400 = 400L
const val COMMAND_DELAY_TIME_500 = 500L
const val COMMAND_DELAY_TIME_600 = 600L
const val COMMAND_DELAY_TIME_700 = 700L
const val COMMAND_DELAY_TIME_800 = 800L
const val COMMAND_DELAY_TIME_900 = 900L
const val COMMAND_DELAY_TIME_ONE_SECOND = 1000L

const val LOADING_TIME_OUT = 15

const val DEVICE_MODE_NO_SELECT = -1
const val DEVICE_MODE_ONLINE = 1
const val DEVICE_MODE_OFFLINE = 2

const val OFFLINE_DEVICE_LEFT = 0
const val OFFLINE_DEVICE_RIGHT = 1